package com.ruoyi.app.model;

import com.alibaba.fastjson.JSONObject;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("APP请求信息")
public class AppReqEntity {
	@ApiModelProperty("app代码")
	private String appId;
	
	@ApiModelProperty("渠道")
	private String channeld;
	
	@ApiModelProperty("aes加密随机数")
	private String random;

	@ApiModelProperty("签名")
    private String sign;
    
	@ApiModelProperty("请求流水号")
    private String reqId;

	@ApiModelProperty("请求时间搓")
    private String timestamp;
	
	@ApiModelProperty("业务数据字符串")
    private JSONObject data;

	public AppReqEntity() {
		
	}

	public AppReqEntity(String appId, String channeld, String random, String sign, String reqId, String timestamp,
			JSONObject data) {
		super();
		this.appId = appId;
		this.channeld = channeld;
		this.random = random;
		this.sign = sign;
		this.reqId = reqId;
		this.timestamp = timestamp;
		this.data = data;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getChanneld() {
		return channeld;
	}

	public void setChanneld(String channeld) {
		this.channeld = channeld;
	}

	public String getRandom() {
		return random;
	}

	public void setRandom(String random) {
		this.random = random;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getReqId() {
		return reqId;
	}

	public void setReqId(String reqId) {
		this.reqId = reqId;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	public JSONObject getData() {
		return data;
	}

	public void setData(JSONObject data) {
		this.data = data;
	}

}
